package Homeworks.HOMEWORK0307.TV;

public class Tv_TCL extends Tv_tv {
    boolean cloud;
    public Tv_TCL(){}
    public Tv_TCL(String theBrand,byte theSize,boolean theCloud){
        brand=theBrand;
        size=theSize;
        cloud=theCloud;
    }
    public void output(){
        if(cloud==false)
            super.output();
        else
        {
            System.out.println("电视的牌子是"+brand+"尺寸是"+size+",是云电视");
        }
    }
}
